Skip to content

Fix #1175 uninitialized data: casted to 'int *' and dereferenced#5008

Merged
orbitcowboy merged 3 commits into
cppcheck-opensource:mainfrom
chrchr-github:chr_Fix1175
May 29, 2023
Merged

Fix #1175 uninitialized data: casted to 'int *' and dereferenced#5008
orbitcowboy merged 3 commits into
cppcheck-opensource:mainfrom
chrchr-github:chr_Fix1175

Conversation

@chrchr-github
Copy link
Copy Markdown
Collaborator

No description provided.

@chrchr-github
Copy link
Copy Markdown
Collaborator Author

Any feedback?

Copy link
Copy Markdown
Collaborator

@danmar danmar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not easy.. but the error message might be a little confusing in this case. probably the intention was not to dereference p. well feel free to apply I think this looks reasonable.

@orbitcowboy orbitcowboy merged commit ec2f00d into cppcheck-opensource:main May 29, 2023
@chrchr-github chrchr-github deleted the chr_Fix1175 branch August 11, 2023 17:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants